package com.linln.admin.bank.service;

import java.util.List;

import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.transaction.annotation.Transactional;

import com.linln.admin.bank.domain.Clue;
import com.linln.admin.core.enums.StatusEnum;

/**
 * @author kome
 * @date 2020/08/08
 */
public interface ClueService {

    Page<Clue> getPageList(Example<Clue> example, Integer pageIndex, Integer pageSize);

    Clue getId(Long id);

    Clue save(Clue clue);

    @Transactional
    Integer updateStatus(StatusEnum statusEnum, List<Long> idList);

    Integer updateCompleteStatus(int i, List<Long> idList);
}
